package com.anyou.mall.goo.mapper;

import java.util.List;
import com.anyou.mall.goo.domain.GoodsSuit;
import com.anyou.mall.goo.goodsSpecs.domain.GooGoodsSpecs;
import com.anyou.mall.goo.vo.GoodsSuitListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 套装商品Mapper接口
 *
 * @author gaochaohao
 * @date 2022-04-02
 */
public interface GoodsSuitMapper extends BaseMapper<GoodsSuit>
{
    /**
     * 查询套装商品
     *
     * @param goodsSuitId 套装商品主键
     * @return 套装商品
     */
    public GoodsSuit selectGoodsSuitByGoodsSuitId(Long goodsSuitId);

    /**
     * 查询套装商品列表
     *
     * @param goodsSuit 套装商品
     * @return 套装商品集合
     */
    public List<GoodsSuit> selectGoodsSuitList(GoodsSuit goodsSuit);

    /**
     * 新增套装商品
     *
     * @param goodsSuit 套装商品
     * @return 结果
     */
    public int insertGoodsSuit(GoodsSuit goodsSuit);

    /**
     * 修改套装商品
     *
     * @param goodsSuit 套装商品
     * @return 结果
     */
    public int updateGoodsSuit(GoodsSuit goodsSuit);

    /**
     * 删除套装商品
     *
     * @param goodsSuitId 套装商品主键
     * @return 结果
     */
    public int deleteGoodsSuitByGoodsSuitId(Long goodsSuitId);

    /**
     * 批量删除套装商品
     *
     * @param goodsSuitIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGoodsSuitByGoodsSuitIds(Long[] goodsSuitIds);

    /**
     * 根据套装商品id获取套装商品列表
     * @param GoodsSuitId
     * @return
     */
    public List<GoodsSuitListVo> selectGoodsSuitListByGoodsSuitId (Long GoodsSuitId);

    List<String> goodsName(Long storeId);
}
